package cn.csust.net2.manager.shared.service;

import java.util.List;
import java.util.Map;
import cn.csust.net2.manager.shared.vo.TreeNode;

import com.extjs.gxt.ui.client.data.PagingLoadConfig;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface VoteManagerServiceAsync extends VoteCommonServiceAsync {
//	void findVotesByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<Vote>> callback);
//	
//	void findVoteResultsByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<VoteResult> > callback);
//	
//	void findVoteAnswersByPaging(PagingLoadConfig config,AsyncCallback<PagingLoadResult<VoteAnswer>> callback);
//	
//	void saveStudent_VoteByPaging(PagingLoadConfig config,AsyncCallback<Void> callback);
//	
//	void findStudent_Vote(PagingLoadConfig config,AsyncCallback<PagingLoadResult<Long>> callback);
//	
//	void findVoteResultsByAnswerID(Long l,AsyncCallback<Integer> callback);
	
	
	void saveVoteBanjiIDListByPaging(PagingLoadConfig config,AsyncCallback<Void> callback);

	
	void findVoteBanjiIDListByPaging(PagingLoadConfig config,AsyncCallback<List<Integer>> callback);


	void getChildren(TreeNode loadConfig, Map<String, Object> configs,
			AsyncCallback<List<TreeNode>> callback);

	
//	/*
//	 * vote 
//	 * voteanswerSet
//	 */
//	void saveVoteBypaging(PagingLoadConfig config , AsyncCallback<Void> callback);
}
